projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2a4d1
)
demos: No need to set the background, it gets overridden anyway
author
Benjamin Otte
<otte@redhat.com>
Fri, 27 Aug 2010 10:31:32 +0000
(12:31 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:30 +0000
(15:11 +0200)
demos/testpixbuf-scale.c
patch
|
blob
|
history
diff --git
a/demos/testpixbuf-scale.c
b/demos/testpixbuf-scale.c
index 3eb9b0abfac208b2fc46bd47c2fa2d017af3055f..4d0d0d03516a1e001f4f9b3dbb67dabbbdc98e8f 100644
(file)
--- a/
demos/testpixbuf-scale.c
+++ b/
demos/testpixbuf-scale.c
@@
-38,9
+38,6
@@
expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
GdkPixbuf *dest;
cairo_t *cr;
- gdk_window_set_back_pixmap (gtk_widget_get_window (widget),
- NULL, FALSE);
-
dest = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, event->area.width, event->area.height);
gtk_widget_get_allocation (widget, &allocation);